#region Copyright Jonathan Quiros

//	
// All rights are reserved. Reproduction or transmission in whole or in 
// part, in any form or by any means, electronic, mechanical or otherwise, 
// is prohibited without the prior written consent of the copyright owner.
//
// Filename: ITournamentsRepository.cs
//

#endregion

using System.Collections.Generic;
using Ids.Web.Listing;
using Novagoal.Models;
using Novagoal.Models.Utils;

namespace Novagoal.Repositories
{
    public interface ITournamentsRepository
    {
        IEnumerable<Tournament> GetTournamentsByPerson(int personId);

        IEnumerable<Tournament> GetTournaments();
        
        List<Tournament> GetTournaments(Dictionary<TournamentListFilter, string> filterList, TournamentListSortField sortField, SortDirectionType sortDirection, int currentPage, int pageSize);
        
        int GetTotalTournaments(Dictionary<TournamentListFilter, string> filterList);
        
        Tournament GetTournament(int id);
    }
}
